package com.william.jdbcplus.core.parallel;

import java.util.List;
import java.util.Map;
import java.util.function.Function;

public interface IMapperExecute {

    <K, V> List<V> executeToList(final List<K> groups, final Function<K, V> mapper);

    <K, V> Map<K, V> executeToMap(final List<K> groups, final Function<K, V> mapper);
}
